package com.lcj.nebula.service;

import com.github.pagehelper.PageInfo;
import com.lcj.nebula.controller.form.SearchMonitoringForm;
import com.lcj.nebula.controller.vo.OrderMonitoringEntityVo;
import com.lcj.nebula.db.pojo.OrderVoiceTextEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface MonitoringService {

    /**
     * 上传录音文件，内容审核
     * @param file
     * @param name
     * @param text
     */
    void monitoring(MultipartFile file, String name, String text);

    int insertOrderMonitoring(long orderId);

    PageInfo<OrderMonitoringEntityVo> searchOrderMonitoringByPage(SearchMonitoringForm form);

    List<OrderVoiceTextEntity> searchOrderMonitoringDetail(Long orderId);
}